package com.qcby.onlinelearningplatform.Service.Impl;

import com.qcby.onlinelearningplatform.Dao.AdminDao;
import com.qcby.onlinelearningplatform.Entity.AdminChannel;
import com.qcby.onlinelearningplatform.Service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    public AdminDao adminDao;

    @Override
    public List<AdminChannel> adChannel() {
        return this.adminDao.adChannel();
    }
}
